package com.timebank.volunteer.pojo.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.awt.*;

/**
 * 高德地图 IP 返回结果
 * @author shiliuyinzhen
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel("高德地图 IP 返回结果")
public class IpResponse {

    @ApiModelProperty(value = "返回结果状态值")
    private String status;

    @ApiModelProperty(value = "返回状态说明")
    private String info;

    @ApiModelProperty(value = "返回状态说明")
    private String infocode;

    @ApiModelProperty(value = "省份")
    private String province;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "区/县级编码")
    private String adcode;

    @ApiModelProperty(value = "所在城市矩形区域范围,左下右上对标对")
    private String rectangle;
}
